package com.kc.business.mapper;

import com.kc.business.domain.order.entity.BizCancelOrderStatistics;
import com.kc.business.domain.order.entity.BizOrderStatistics;
import com.kc.common.core.dao.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface BizCancelOrderStatisticsMapper extends BaseMapper<BizCancelOrderStatistics> {
    /**
     * 获取当期数据
     * @param date
     * @param dateType
     * @return
     */
    BizCancelOrderStatistics statisticsOrderByData(@Param("date") String date, @Param("dateType") Integer dateType);

    /**
     * 获取历史数据
     * @param date
     * @param dateType
     * @return
     */
    BizCancelOrderStatistics getHistoryData(@Param("date") String date,@Param("dateType") Integer dateType);
}
